﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkWeChat
{
    /// <summary>
    /// 企业微信配置
    /// </summary>
    public class Config
    {
        /// <summary>
        /// 应用套件id
        /// </summary>
        public const string suite_id = "ww51e699fadf17a354";
        /// <summary>
        /// 应用套件secret
        /// </summary>
        public const string suite_secret = "a0Miu2r9-bgwNG7twdfMiSowekkQQ5xmZEArbEeY-AU";
        /// <summary>
        /// 安装应用后,回调的通知URL
        /// </summary>
        public const string redirect_uri = "http://crm.711688.net.cn/WorkWeChat/InstallNotify?storeid=";


        /// <summary>
        /// 企业微信中 开发者设置的Token
        /// </summary>
        public const string Token = "AhRGg8l6ONUZzQJyjveAToO3FWO1Ye";
        /// <summary>
        /// 企业微信中 开发者设置的EncodingAESKey
        /// </summary>
        public const string EncodingAESKey = "3V8W6O6vzoE6Qtea28MlhxQPWcS5ixg3JaRbpo9p5aq";
        /// <summary>
        /// 企业号的CorpID
        /// </summary>
        public const string CorpID = "ww2eea81256eeae11b";

        /// <summary>
        /// suite_ticket目录 每十分钟更新
        /// </summary>
        public const string suite_ticket_path = @"\log\suite_ticket.txt";

        /// <summary>
        /// 企业应用的ID,也就是当前应用的appid
        /// </summary>
        public const string agentid = "1";
    }
}
